
package com.shycloud.mido.member.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.member.api.dto.TeacherApprovalDTO;
import com.shycloud.mido.member.api.entity.TeacherApproval;

/**
 * 平台认证教师表
 *
 * @author jtzhang
 * @date 2019-02-27 13:16:46
 */
public interface TeacherApprovalService extends IService<TeacherApproval> {

    /**
     * 分页查询教师资格认证
     *
     * @param page    分页对象
     * @param teacherApprovalDTO 参数列表
     * @return
     */
    IPage getTeacherApprovalDTOPage(Page page, TeacherApprovalDTO teacherApprovalDTO);

    /**
     * 通过审核
     *
     * @param id id
     * @return
     */
    boolean accept(String id);

	/**
	 * 驳回审核
	 * @param id
	 * @param remarks
	 * @return
	 */
    boolean reject(String id,String remarks);

    /**
     *  查询教师证书照片
     * @param memberId memberId
     * @return
     */
    List<String> getTeacherApprovalProPic (String memberId);

    /**
     * 查询教师科目ID
     * @param memberId memberId
     * @return
     */
    List<String> getTeacherApprovalSubjectId(String memberId);
}